//
//  VoiceChatContentsView.h
//  RainbowFM
//
//  Created by Kratos on 14/12/15.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <QuartzCore/QuartzCore.h>
#include <AVFoundation/AVFoundation.h>

#import "VoiceChatStatus.h"

typedef void(^FullScreenActionBlock)();
typedef void(^TakeOffOnlineBlock)();

@interface VoiceChatContentsView : UIView
@property (nonatomic , weak) IBOutlet UIImageView *chatView;
@property (nonatomic , weak) IBOutlet UIButton *fullButton;

@property (nonatomic , weak) IBOutlet UIView *userView;
@property (nonatomic , weak) IBOutlet UIButton *takeOffButton;

@property (nonatomic , strong) AVCaptureVideoPreviewLayer *localVideoSurface;

@property (nonatomic , assign) BOOL isUserViewFull;//本地视频放大


@property (nonatomic , assign) VoiceChatScreenStatus screenStatus;

@property (nonatomic , strong) FullScreenActionBlock fullBlock;
@property (nonatomic , strong) TakeOffOnlineBlock takeOffBlock;

@end
